<?php
namespace QnuiRingsMobile\Model;
use Think\Model\ViewModel;
class PageComponentSettingsViewModel extends ViewModel {
   public $viewFields = array(
	 'PageComponentSettingsInpage'=>array('id'=>"setting_id",'page_id','component_inpage_id','field_name','name','val','_type'=>'LEFT'),
	 'PageComponentsInpage'=>array('id'=>'component_id','code','ordinal',
							   '_on'=>'PageComponentSettingsInpage.component_inpage_id=PageComponentsInpage.id'),
     );
}